<!--<template>-->
<!--    <div class="padding20">-->
<!--        &lt;!&ndash;列表页&ndash;&gt;-->
<!--        <div v-show="showList">-->
<!--            &lt;!&ndash;条件查询&ndash;&gt;-->
<!--            <el-form :model="queryParam" label-position="left" size="small">-->
<!--                <el-row :gutter="50" justify="start">-->
<!--                    <el-col :xs="12" :sm="7">-->
<!--                        <el-form-item prop="time">-->
<!--                            <el-date-picker-->
<!--                                    unlink-panels-->
<!--                                    style="width: 100%"-->
<!--                                    v-model="queryParam.time"-->
<!--                                    type="monthrange"-->
<!--                                    align="right"-->
<!--                                    value-format="yyyy-MM-dd"-->
<!--                                    range-separator="至"-->
<!--                                    start-placeholder="日期"-->
<!--                                    end-placeholder="日期"-->
<!--                                    :picker-options="quickPickerOptions"/>-->
<!--                        </el-form-item>-->
<!--                    </el-col>-->
<!--                    &lt;!&ndash;展开/收起&ndash;&gt;-->
<!--                    <el-col :xs="showMoreSearch?24:13" :sm="showMoreSearch?24:7">-->
<!--                        <div style="float: left;overflow: hidden;">-->
<!--                            <el-button size="small" @click="selectPage" type="primary">查询</el-button>-->
<!--                            <el-button size="small" @click="clearParam">重置</el-button>-->
<!--                        </div>-->
<!--                    </el-col>-->
<!--                </el-row>-->
<!--            </el-form>-->

<!--            &lt;!&ndash;操作按钮&ndash;&gt;-->
<!--            <div class="mi-container">-->
<!--                <el-button size="mini" class="mi-item" type="primary" icon="el-icon-plus"-->
<!--                           @click="show('insert')">新增员工基本情况-->
<!--                </el-button>-->
<!--            </div>-->
<!--            &lt;!&ndash;表格数据&ndash;&gt;-->
<!--            <el-table :data="tableData"-->
<!--                      border fit style="width: 100%;"-->
<!--                      highlight-current-row show-overflow-tooltip-->
<!--                      @selection-change="selectionChange">-->
<!--                <el-table-column label="日期" prop="dataMonth" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        {{scope.row.dataMonth | subStr(-3)}}-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="公司名" prop="companyName" align="center"/>-->
<!--                <el-table-column label="管理岗人数" prop="jobType" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <span> {{ parseObject(scope.row.jobType)["管理岗"] | nullFilter}}</span> <br>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="高校毕业生人数" prop="peopleType" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <span> {{ parseObject(scope.row.peopleType)["应届高校毕业生"] | nullFilter}}</span> <br>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="本科生人数" prop="learnLevel" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <span> {{ parseObject(scope.row.learnLevel)["本科"] | nullFilter}}</span> <br>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="操作" width="230" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <el-button type="success" plain size="mini" @click="show('update',scope.row)">-->
<!--                            编辑-->
<!--                        </el-button>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--            </el-table>-->

<!--            &lt;!&ndash;分页插件&ndash;&gt;-->
<!--            <Pagination @pagination="selectPage"-->
<!--                        v-show="pageParam.pages>0"-->
<!--                        :total-data-num="pageParam.total"-->
<!--                        :current-page="pageParam.current"-->
<!--                        :page-size="pageParam.size"/>-->
<!--        </div>-->

<!--        &lt;!&ndash;编辑（新增/修改）&ndash;&gt;-->
<!--        <transition name="el-fade-in">-->
<!--            <InWorkHumanGEdit v-if="showEdit" :mData="viewData" :option="viewOption" @close="close"/>-->
<!--        </transition>-->

<!--        &lt;!&ndash;详情页&ndash;&gt;-->
<!--        <el-drawer size="60%" direction="rtl"-->
<!--                   :title="this.viewOption.title" :visible.sync="showInfo">-->
<!--            <InWorkHumanGInfo v-if="showInfo" :mData="viewData" :option="viewOption" @close="close"/>-->
<!--        </el-drawer>-->
<!--    </div>-->
<!--</template>-->

<!--<script lang="ts">-->
<!--    import {Component} from 'vue-property-decorator'-->
<!--    import {API} from "@/core/api/API";-->
<!--    import {mixins} from "vue-class-component";-->
<!--    import BaseVue from "@/core/mixin/BaseVue";-->
<!--    import Pagination from "@/components/Pagination/Pagination.vue";-->
<!--    import Kit from "@/core/mixin/Kit";-->
<!--    import {infoMsg, successMsg} from "@/core/utils/message";-->
<!--    import $http from "@/core/utils/http";-->
<!--    import InWorkHumanGEdit from "@/views/government/company/in-work-human-info/edit.vue";-->
<!--    import InWorkHumanGInfo from "@/views/government/company/in-work-human-info/info.vue";-->

<!--    @Component({-->
<!--        name: 'InWorkHumanList',-->
<!--        components: {-->
<!--            Pagination,-->
<!--            InWorkHumanGEdit,-->
<!--            InWorkHumanGInfo,-->
<!--        },-->
<!--    })-->

<!--    export default class InWorkHumanGList extends mixins(BaseVue, Kit) {-->
<!--        get companyId() {-->
<!--            return this.$route.query.id;-->
<!--        }-->

<!--        get companyUserId() {-->
<!--            return this.$route.query.userId;-->
<!--        }-->

<!--        get companyUserAccount() {-->
<!--            return this.$route.query.userAccount;-->
<!--        }-->

<!--        //初始化-->
<!--        async mounted() {-->
<!--            this.selectPage();-->
<!--        }-->

<!--        //查询分页-->
<!--        selectPage(page: any = null) {-->
<!--            this.queryParam.companyId = this.companyId;-->
<!--            this.pageData(API.inWorkHumanInfoPage, page)-->
<!--                .then((res: any) => {-->
<!--                })-->
<!--        }-->

<!--        //处理更多按钮事件-->
<!--        handleCommand(command: any, index: any, row: any) {-->
<!--            switch (command) {-->
<!--                case "delete":-->
<!--                    this.delete(row.id);-->
<!--                    break;-->
<!--            }-->
<!--        }-->

<!--        delete(id: any) {-->
<!--            this.$confirm('此操作将永久删除数据, 是否继续?', '提示', {-->
<!--                confirmButtonText: '确定',-->
<!--                cancelButtonText: '取消',-->
<!--                type: 'warning'-->
<!--            }).then(() => {-->
<!--                $http.post(API.inWorkHumanInfoDelete, [id]).then((res: any) => {-->
<!--                    if (res.success) {-->
<!--                        this.selectPage();-->
<!--                        successMsg("已删除");-->
<!--                    }-->
<!--                });-->
<!--            }).catch(() => {-->
<!--                infoMsg("已取消!")-->
<!--            });-->
<!--        }-->

<!--        //重新获取焦点-->
<!--        activated() {-->
<!--        }-->

<!--        //失去焦点-->
<!--        deactivated() {-->
<!--        }-->

<!--        //切换视图-->
<!--        show(type: any, data: any = {}) {-->
<!--            //赋值-->
<!--            this.viewData = data;-->
<!--            this.viewOption.type = type;-->
<!--            this.viewData.companyUserId = this.companyUserId;-->
<!--            this.viewData.companyUserAccount = this.companyUserAccount;-->

<!--            //详情-->
<!--            if (type == "info") {-->
<!--                this.viewOption.title = '详情';-->
<!--                this.showInfo = true;-->
<!--            }-->
<!--            //新增-->
<!--            if (type == "insert") {-->
<!--                this.viewOption.title = '新增员工基本情况';-->
<!--                this.showEdit = true;-->
<!--                this.showList = false;-->
<!--            }-->
<!--            //修改-->
<!--            if (type == "update") {-->
<!--                this.viewOption.title = '修改员工基本情况';-->
<!--                this.showEdit = true;-->
<!--                this.showList = false;-->
<!--            }-->
<!--        }-->

<!--        //视图关闭回调-->
<!--        close(obj: any = {}) {-->
<!--            this.showInfo = false;-->
<!--            this.showEdit = false;-->
<!--            setTimeout(() => {-->
<!--                this.showList = true;-->
<!--                if (obj.refresh) {-->
<!--                    this.selectPage();-->
<!--                }-->
<!--            }, 200);-->
<!--        }-->
<!--    }-->

<!--</script>-->

<!--<style scoped type="scss">-->
<!--</style>-->
